//
//  MainWindow.h
//  GameJam-Mac
//
//  Created by Sin Clover on 12/7/11.
//  Copyright 2011 Snow Poem Society. All rights reserved.
//

#pragma once

#include "stdafx.h"
#include <vector>
#include <string>

#include "Editor/AEControl.h"
#include "Editor/AELabel.h"


// MainController is a singleton, and should be called theEditor. 
#define theEditor MainController::GetInstance()

class MainController : public GameManager
{
public:

	static MainController &GetInstance();
	
    // Just for test, this method should not be reimplemented, 
    //   says the Angel Engine document.
    virtual void Update(float dt) {}

	virtual void ReceiveMessage(Message* message) {}
    
    // For test
    void Foo(AEControl* sender);
	
protected:
	MainController();
	static MainController *s_MainController;
    
    // for test
    String _displayText;
    AELabel* _infoLabel;
};
